package com.sieg.domain;

public class User {
    int id;
    String userName;
    String password;
    int money;
    String shopCart;
    int vip;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", money=" + money +
                ", shopCart='" + shopCart + '\'' +
                ", vip=" + vip +
                '}';
    }

    public User(int id, String userName, String password, int money, String shopCart, int vip) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.money = money;
        this.shopCart = shopCart;
        this.vip = vip;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getShopCart() {
        return shopCart;
    }

    public void setShopCart(String shopCart) {
        this.shopCart = shopCart;
    }

    public int getVip() {
        return vip;
    }

    public void setVip(int vip) {
        this.vip = vip;
    }
}
